package com.repeat.member.repository;


import com.repeat.member.model.UserSignStatus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;

@Repository
public interface UserSignStatusRepository extends JpaRepository<UserSignStatus, Long> {//OrderByLastSignDate
    UserSignStatus findByUserIdAndLastSignDate(Long userId, LocalDate date);
}
